import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path:"country-ranking",
    loadChildren:"./country-ranking/country-ranking.module#CountryRankingModule"
  },
  {
    path:"province-ranking",
    loadChildren:"./province-ranking/province-ranking.module#ProvinceRankingModule"
  },
  {
    path:"county-ranking",
    loadChildren:"./county-ranking/county-ranking.module#CountyRankingModule"
  },
  {
    path:"office-ranking",
    loadChildren:"./office-ranking/office-ranking.module#OfficeRankingModule"
  }

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AllRankingRoutingModule { }
